﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Events.aspx.cs" Inherits="_Events"
    MasterPageFile="~/Beamonkey.master" %>

<%@ Register Src="~/Controls/CalendarControl.ascx" TagPrefix="uc" TagName="Calendar" %>
<%@ Register Src="~/Controls/SendToFriend.ascx" TagPrefix="uc" TagName="SendToFriend" %>

<asp:Content ID="HeadContent" ContentPlaceHolderID="head" runat="server">
    <meta name="keywords" content='<%=sKeywords %>' />
    <meta name="description" content='<%=sDescription %>' />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="content">
        <div class="lcol1">
            <div class="title1">
                <h1>
                    <%=sBlockTitle %></h1>
            </div>
            <div class="imgcontainer">
                <img runat="server" ID="imgTitle" /></div>
                
            <div class="maintext2">
                <h2>
                    <%=FUNC.GetPhrase(7) %>
                    <br />
                    <br />
                </h2>
                <asp:DataList ID="dlEvents" runat="server" FooterStyle-Font-Bold  OnItemDataBound="dlEvents_ItemDataBound">
                    <ItemTemplate>
                        <asp:Label CssClass="month" runat="server" ID="lblMonth"></asp:Label>
                        <div class="dayitem">
                            <div class="dayitem2">
                                <%# Convert.ToDateTime(Eval("StartDate")).Day.ToString("D2") %></div>
                            <div class="dayitem3" style="border-bottom: solid 1px #4e3b29">
                                <a href='article.aspx?ID=<%#Eval("ID") %>'>
                                    <%#Eval("Title") %></a><span><%# Convert.ToDateTime(Eval("StartDate")).ToString("dd/MM/yy HH:mm") %>
                                        -
                                        <%#Convert.ToDateTime(Eval("EndDate")).ToString("dd/MM/yy HH:mm")%>
                                        |
                                        <%#Eval("Place") %>
                                    </span>
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:DataList> 
                <asp:Label ID="lblEmpty" CssClass="dayitem3" runat="server"></asp:Label>
                <div class="vpage" id="divPager" runat="server">
                </div>
            </div>
        </div>
        <div class="rcol">
            <div class="rmenu1" style="margin-top: 90px;">
                <uc:Calendar runat="server" ID="Calendar1" />
                <div class="rmenu2">
                    <%--style="color: #FFFFFF; background-image: url(images/bullet3.png)"--%>
                    <a runat="server" id="lnkLastNews" href="desk.aspx">
                        <%=FUNC.GetPhrase(17) %></a> <a runat="server" id="lnkEvents" href="Events.aspx">
                            <%=FUNC.GetPhrase(19) %></a> <a runat="server" id="lnkCompetitions" href="Events.aspx?type=1">
                                <%=FUNC.GetPhrase(18) %></a>
                </div>
            </div>
            <uc:SendToFriend runat="server" id="sendto" />
        </div>
    </div>
    <%--<div class="footer">
        <div class="morepicblockf">
            <a href="#">
                <img src="images/p2.jpg" border="0" /></a><a href="#"><img src="images/p2.jpg" border="0" /></a><a
                    href="#"><img src="images/p2.jpg" border="0" /></a><a href="#"><img src="images/p2.jpg"
                        border="0" /></a>
            <div class="mainbf">
                <a href="about.html">Новые фото </a>
            </div>
        </div>
    </div>--%>
</asp:Content>
